# 添加所有的源文件
string(REGEX REPLACE ".+/(.+)" "\\1" CURRENT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}")
string(REGEX REPLACE ".+/(.+)/.+" "\\1" UP_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}")

aux_source_directory(. DIRSRCS)

add_library(${CURRENT_DIRECTORY}  ${DIRSRCS})

